def jingdian(keywords):
    """通过用POI的关键字进行条件搜索"""
    poi_url = "https://restapi.amap.com/v3/place/text?keywords=%s&output=json&offset=20&page=1&key=f9c67660b4fb5495dbf50ab796f74b1e&extensions=all"

    import requests
    r  = requests.get(poi_url)
    data = r.json()
    data = data['suggestion']['cities'][0]
    return data